package com.benz.project.pvm.repository;

import com.benz.project.pvm.domain.Version;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 版本操作仓库
 *
 * @author lanh
 */
@Repository
public interface VersionRepository extends JpaRepository<Version, String> {

    List<Version> findAllByProject(String projectId);
}
